---
title: "update multiple device attributes · RUAL Documentation"
description: "With this block you can update multiple attributes of an device."
canonical: https://docs.rual.nl/block-types/Home Automaton/aqaraconnection_device_update_attributes
language: en
---

# update multiple device attributes

This block is part of the [`Home Automaton`](https://docs.rual.nl/block-types/Home%20Automaton) group and was last modified in core [`v13.0.8`](https://docs.rual.nl/core-versions/130008).

With this block you can update multiple attributes of an device.

- flow `flow`

- Connection required `aqaraconnection` An authenciated aqara connection

- Device ID required `value` The device ID of the device you want to update.

- Attributes required `array` The array with the attributes you want to update and their new value. Each object in the array should have the keys "resource_id" and "value".

- flow `flow`

- Connection `aqaraconnection` The aqara connection.

- Success `condition` If successful, this pin returns true.

- Error `value` Error message if the attributes could not be updated.

A typical wiring for [update multiple device attributes](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_device_update_attributes): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [open connection](https://docs.rual.nl/block-types/Home%20Automaton/aqaraconnection_open) feeds the `connection` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the update multiple device attributes block: typical wiring for update multiple device attributes.](https://docs.rual.nl/canvas-examples/aqaraconnection_device_update_attributes.png)

### Version history

Introduced in [`v13.0.8`](https://docs.rual.nl/core-versions/130008).
